package com.katus.tileserver.dao;

import com.katus.tileserver.entity.Project;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author jiarui
 * @version 1.0, 2022-11-21
 */
public interface ProjectDao {

    Project getProjectDetail(Integer id);

    List<Project> getList(@Param("offset") Integer offset, @Param("size") Integer size, @Param("keyword") String keyword);

    int insert(Project project);
}
